home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
os2
/
dialip10.zip
/
NOTIFY.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-11-18
|
797b
|
42 lines
/**/
parse arg messages
bs = '08'x
ff = '0c'x
cr = '0d'x
esc = '1b'x
crlf = '0d0a'x
tmp = value( 'TMP', , 'OS2ENVIRONMENT' )
msg_file = tmp'\msg_file'
if ( stream( msg_file,"c",'query exists' ) \= '' ) then
DO
'del' msg_file
END
text = 'You have' messages 'messages.'
rc = lineout( msg_file, text )
rc = stream( msg_file,"c","close" )
'start epm' msg_file
do c = 1 to 5
call notify_audio
call syssleep 45
end /* do */
'exit'
exit
/*************************/
notify_audio: /* play.cmd would be in like x:\mmos2 after you install multimedia */
call play 'file="f:\cmds\notify.wav"'
call play 'file="f:\cmds\notify.wav"'
call play 'file="f:\cmds\notify.wav"'
return